package com.lmx.project.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lmx.project.model.dto.team.TeamAndQueryRequest;
import com.lmx.project.model.entity.Team;
import com.lmx.project.model.vo.team.TeamAndTeamPersonVo;
import com.lmx.project.model.vo.team.TeamAndTeamPersonVoList;
import com.lmx.project.service.TeamService;
import com.lmx.project.mapper.TeamMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * @author Lenovo
 * @description 针对表【team(队伍成员表)】的数据库操作Service实现
 * @createDate 2023-04-16 20:22:25
 */
@Service
public class TeamServiceImpl extends ServiceImpl<TeamMapper, Team>
        implements TeamService {

    @Resource
    private TeamMapper teamMapper;

//    @Override
//    public List<TeamAndTeamPersonVoList> getTeamAndTeamPersoList(TeamAndQueryRequest teamAndQueryRequest) {
//
//       List<TeamAndTeamPersonVo> list= teamMapper.selectTeam(teamAndQueryRequest);
//
////        进行转化
//        ArrayList<TeamAndTeamPersonVoList> teamAndTeamPersonVoLists = new ArrayList<>();
//        list.stream().forEach(teamAndTeamPersonVo -> {
////
//        });
//
//
//    }
}




